<?php
class categoryviewModel extends viewModel{
	public $table="category";
	 public $view = array(
	        "news"=>array(
	             "join_type"=>"left",
	              "on"=>"category.catid=news.catid",
	               
	 )
	
	
	);
	
}





?>